import java.util.ArrayList;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.locks.LockSupport;

public class HelloWorld {
    public static void main(String[] args) {
        ConcurrentHashMap<Integer, String> map = new ConcurrentHashMap<>(32);
        new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 20; i < 130; i++) {
                    map.put(i,"ddd");
                }
                LockSupport.park();
            }
        }).start();
        for (int i = 0; i < 50; i++) {
            map.put(i,"ddd");
        }
        String property = System.getProperty("sun.boot.class.path");
        System.setProperty("sun.boot.class.path","F:\\gitee-ckl\\jdk-debug\\target\\classes;" + property);
        System.out.println(System.getProperty("sun.boot.class.path"));

        ArrayList<String> list = new ArrayList<>();
        ClassLoader classLoader = list.getClass().getClassLoader();
        System.out.println(classLoader);
        list.add("abc");
    }
}
